select type, newlink from icrm_ilo_301redirects where oldlink = 'http://www.navako.lt/client/js/'%20+%20(/%5ehttps/i.test(window.location.href%20%7c%7c%20'')%20?%20%27javascript:void(false)%27%20:%20%27about:blank%27%20)%20+%20%27' and disable = 0 order by cr_date desc limit 1You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '%20(/%5ehttps/i.test(window.location.href%20%7c%7c%20'')%20?%20%27javascript:...' at line 1